<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="box">
        <!-- html a标签的写法 -->
        <a href="http://baidu.com">baidu</a>
        <!-- v-bind:标签的属性   -->
        <a v-bind:href="url">百度一下</a>
        <!-- v-bind的简写方式 -->
        <a :href="url">百度test</a>
        <h1 title="精神一下">硕硕</h1>
        <h1 :title="msg">tutu</h1>
    </div>
    <script src="../js/vue.js"></script>
    <script>
        let vm1 = new Vue({
            el:'.box',
            data:{
                url:'http://baidu.com',
                msg:'精神一下'
            }
        })
    </script>
</body>
</html>